#pragma once
#include <SFML/Graphics.hpp>
#include "WindowManager.h"
class LMButton
{

private:
	sf::Text text;
	sf::RectangleShape box;
	sf::Color colour;
	sf::Vector2f position;
	sf::Font* font;
	bool pressed;

public:
	LMButton(std::string, sf::Vector2f, sf::Font*);
	~LMButton(void);
	void setText(std::string);
	sf::Text getText();
	sf::RectangleShape getBox();
	sf::Vector2f getPosition(void);
	void setPosition(sf::Vector2f);
	bool checkClicked(sf::Vector2f);
	bool checkClicked(sf::Vector2i);
	bool isClicked(void);
	void releaseClicked(void);
	void resize(void);
	void drawThis(WindowManager*);

};

